﻿<%@ page contentType="text/html;charset=UTF-8" isELIgnored="false" autoFlush="true"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
    <br>
    <br>
    <br>
    <div style="float:left;width:35%;height:150px;">
    <p style="font-size:13pt;font-weight:bold;text-align:center;color:#009E00;">为了使用本站更多功能,请登录</p>
    <br>
    <table align="center" border="0" cellpadding="0" cellspacing="0" width="90%">
    <html:form action="/user">
        <html:hidden property="action" value="login"/>
        <input type="hidden" name="from" value="login"/>
        <tr >
            <td>
                <table align="center" border="0" cellpadding="0" cellspacing="0" width="100%">
                    <tr><td colspan="2"><font size="1" color="#CCCCCC">登录名/电子邮件/手机</font></td></tr>
                    <tr>
                        <td width="50%" height="30">登录名:</td>
                        <td>
                            <input type="text" name="loginName" size="20" style="width:120px;margin:0 0 0 0px;border:1px solid black;" value="<c:out value="${cookie['loginName'].value}"/>">
                        </td>
                    </tr>
                    <tr>
                        <td height="26">密&nbsp;&nbsp;&nbsp;码:</td>
                        <td>
                            <input type="password" name="password" value="" size="20" style="width:120px;margin:0 0 0 0px;border:1px solid black;">
                        </td>
                    </tr>
                    <tr>
                        <td height="26">验证码:</td>
                        <td>
                            <span style="float:left;"><input type="text" name="vc" value="" size="4" style="width:50px;margin:0 0 0 0px;border:1px solid black;"/></span><span style="float:right;"><img src="<%=request.getContextPath()%>/vcimg" width="40" height="20" border="0" align="absbottom"/></span>
                        </td>
                    </tr>
                    <tr>
                        <td height="22">方&nbsp;&nbsp;&nbsp;&nbsp;式:</td>
                        <td align="left">
                            <c:set target="${user}" property="loginStyle" value="${cookie['loginStyle'].value}"/>
                            <html:select property="loginStyle" style="margin:0px 0px 0px 0px;font-size:10px;">
                                <html:option value="no">&nbsp;</html:option>
                                <html:option value="remember">记住登录名</html:option>
                                <html:option value="autoLogin" disabled="true">下次自动登录</html:option>
                                <html:option value="clean">清除登录设置</html:option>                                                    
                            </html:select>
                        </td>
                    </tr>
                    <tr>
                        <td height="26">
                            <INPUT TYPE="image" SRC="qa/images/loginbutt.gif" ALT="登录">
                        </td>
                        <td>
                            <html:link page="/user.mrqa?action=findpasswordstep1">忘记密码?</html:link>
                        </td>
                    </tr>                    
                </table>
            </td>
       </tr>
       <c:if test="${requestScope.originalUrl != null}">
            <input type="hidden" name="originalUrl" value="<bean:write name="originalUrl"/>"/>
       </c:if>
       <c:if test="${requestScope.originalUrl == null}">
            <html:hidden property="originalUrl"/>
       </c:if>
     </html:form>  
    </table>
    </div>
    <div style="float:left;width:15%;height:176px">
    	<table align="center" border="0" cellpadding="0" cellspacing="0" width="1" height="100%">
    		<tr>
    			<td bgcolor="#C0C0C0"></td>
    		</tr>
    	</table>
    </div>
    <div style="float:left;width:50%">
    <p>还没有账号?&nbsp;&nbsp;&nbsp;&nbsp;<html:link page="/user.mrqa?action=preadd">这里注册</html:link><p>
    <br>
    <div style="width:83%;border:1px solid #CCC;background-color:#F4F8FC;padding:4 14 10 10;">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
        <tr>
            <td colspan="2" height="34">登录之后你可以</td>
        </tr>
        <tr>
            <td width="60" valign="top"  height="26">发帖:</td>
            <td valign="top">
            www.mainframer.cn是一个什么样的网站?
            </td>
        </tr>
        <tr>
            <td width="60" valign="top">回复:</td>
            <td>
            www.mainframer.cn第一个基于大机资讯交流主题网站,网站的宗旨是建立一个自由,诚心,公正,平等和分享的主机人才网络资源平台.
            </td>
        </tr>
    </table>
    </div>
    </div>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    
